<template>
  <div class="ShopHeader">
    <div class="left">
      <i class="iconfont iconjiantou2"></i>
    </div>
    <div class="center">
      <slot></slot>
    </div>
    <div class="right"></div>
  </div>
</template>

<script>
export default {}
</script>

<style scoped lang="less">
.ShopHeader {
  background-color: #f4f4f4;
  height: 30px;
  // background-color: red;
  display: flex;
  text-align: center;
  align-items: center;
  .right,
  .left {
    width: 30px;
    // background-color: pink;
  }
  .center {
    flex: 1;
    font-size: 20px;
  }
}
</style>
